		<div class="employees form">
		<?php echo $this->Form->create('Employee');?>
			<fieldset>
		 		<legend><?php __('Edit Employee'); ?></legend>
		 		<table>
		 			<tr>
		 				<td><?php echo $this->Form->input('name');?></td>
		 				<td><?php echo $this->Form->input('surname');?></td>
		 			</tr>

		 			<tr>
		 				<td><?php echo $this->Form->input('address1');?></td>
		 				<td><?php echo $this->Form->input('address2');?></td>
		 			</tr>
		 			<tr>
		 				<td><?php echo $this->Form->input('address3');?></td>
		 				<td><?php echo $this->Form->input('address4');?></td>
		 			</tr>	
		 			<tr>
		 				<td><?php echo $this->Form->input('phone1');?></td>
		 				<td><?php echo $this->Form->input('User.email');?></td>
		 			</tr>
		 			<?php if($session->read('Auth.User.group') == 'admin' || $session->read('Auth.User.group') == 'manag' ){?>
		 			<tr>
		 				<td><?php echo $this->Form->input('User.group',array('value'=>$this->data['User']['group']));?></td>
		 				<td><?php echo $this->Form->input('User.password_new',array('value'=>'','type'=>'password'));?></td>
		 			</tr>	
		 			<?php }?>	 			
		 		</table>
			<?php
				echo $this->Form->hidden('id');
				echo $this->Form->hidden('user_id');				
			?>
			</fieldset>
		<?php echo $this->Form->end(__('Submit', true));?>
		</div>
		
			
		<div class="actions">
			<h3><?php __('Actions'); ?></h3>
			<ul>
				<li><?php echo $this->Html->link($html->image('firma/actions_employee_delete.png'), array('action' => 'delete', $this->Form->value('Employee.id')), array('title'=>__('Delete', true),'escape'=>false), sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('Employee.id'))); ?><div class="clr"></div><?php echo __('Delete', true)?></li>
				<li><?php echo $this->Html->link($html->image('firma/actions_employee_view.png'), array('action' => 'view', $this->Form->value('Employee.id')),array('title'=>__('View Employee', true),'escape'=>false));?><div class="clr"></div><?php echo __('View Employee', true)?></li>
				<li><?php echo $this->Html->link($html->image('firma/actions_employees.png'), array('action' => 'index'),array('title'=>__('List Employees', true),'escape'=>false));?><div class="clr"></div><?php echo __('List Employees', true)?></li>				
			</ul>
		</div>
		
	